﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/MasterPageB.master"
    AutoEventWireup="true" CodeFile="ChangePwd.aspx.cs" Inherits="User_ChangePwd" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphLinksB" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphBodyB" runat="Server">
    <div>
        <asp:Label ID="labMessage" runat="server" CssClass="msg"></asp:Label>
        <table id="Table1" border="0" cellpadding="1" cellspacing="0" style="width: 424px;
            height: 159px; font-size: 12pt;" width="424">
            <tr>
                <td>
                    <font face="宋体">用户</font>
                </td>
                <td>
                    <asp:Label ID="labUserName" runat="server" CssClass="val"></asp:Label>
                </td>
            </tr>
            <tr>
                <td>
                    <font face="宋体">原密码</font>
                </td>
                <td>
                    <asp:TextBox ID="txtOldPWD" runat="server" TextMode="Password" MaxLength="20"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtOldPWD"
                        ErrorMessage="提示：必填！" Font-Size="Small"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    <font face="宋体">新密码</font>
                </td>
                <td style="background-color: #ffffff">
                    <asp:TextBox ID="txtNewPWD" runat="server" TextMode="Password" MaxLength="20"></asp:TextBox>
                </td>
            </tr>
            <tr style="background-color: #ffffff">
                <td>
                    <font face="宋体">确认密码</font>
                </td>
                <td>
                    <asp:TextBox ID="txtRepeatPWD" runat="server" TextMode="Password" MaxLength="20"></asp:TextBox>
                    <asp:CompareValidator ID="CompareValidator2" runat="server" ControlToCompare="txtNewPWD"
                        ControlToValidate="txtRepeatPWD" ErrorMessage="提示：密码不一致！" Font-Size="Small"></asp:CompareValidator>
                </td>
            </tr>
            <tr style="background-color: #ffffff">
                <td>
                    &nbsp;
                </td>
                <td>
                    <asp:Button ID="btnChange" runat="server" CssClass="btn" OnClick="Button1_Click"
                        Text="确定" Width="91px" />
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
